package com.mrjy.integral.dao;

import java.util.List;

import com.mrjy.common.entity.IntegralExchange;
import com.mrjy.integral.dto.IntegralExchangeDTO;

public interface IIntegralExchangeDao {
	
	IntegralExchange queryById(Integer id);

	int queryCount(IntegralExchange exchange);

	List<IntegralExchangeDTO> queryPage(IntegralExchange exchange);

	int queryCountForBack(IntegralExchangeDTO dto);

	List<IntegralExchangeDTO> queryPageForBack(IntegralExchangeDTO dto);

	int insert(IntegralExchangeDTO dto);

	int updateById(IntegralExchange exchange);

	int updateDisableFlag(IntegralExchange exchange);

	IntegralExchangeDTO queryDetailById(IntegralExchange exchange);

}
